<!--
  Generated template for the MyRestaurantPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>

  <ion-navbar>
    <ion-title>我的店铺</ion-title>
  </ion-navbar>

</ion-header>


<ion-content padding>
  <ion-item>
    <ion-label class="ion-width-33-ctrl">店铺名</ion-label>
    <ion-label class="ion-width-67-ctrl">{{restaurant.rName}}</ion-label>
  </ion-item>
  <ion-item>
    <ion-label class="ion-width-33-ctrl">地址</ion-label>
    <ion-label class="ion-width-67-ctrl">{{restaurant.rAddr}}</ion-label>
  </ion-item>
  <ion-item>
    <ion-label class="ion-width-33-ctrl">电话</ion-label>
    <ion-label class="ion-width-67-ctrl">{{restaurant.tel}}</ion-label>
  </ion-item>
  <div class="my-restaurant-upload">
    <div class="my-restaurant-upload-title">店铺图片</div>
    <div class="my-restaurant-upload-component">
      <page-upload-file [type]="2"
                        [upload]="upload"
                        [old]="oldImgId"
                        (imgId)="change($event)">
      </page-upload-file>
    </div>
  </div>
  <button ion-button full (click)="save()" style="margin-top: 10px">确认修改</button>
</ion-content>
